﻿using System;
using ActiproSoftware.SyntaxEditor;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RWXMLEdit.UserControls
{
    public class SelectedDocumentTabChangedEventArgs : EventArgs
    {
        #region Constructors.

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="editor">The current selected editor (SyntaxEditor)</param>
        /// <param name="name">The name of the editor tab (string)</param>
        public SelectedDocumentTabChangedEventArgs(SyntaxEditor editor, string name)
        {
            Editor = editor;
            Name = name;
        }

        #endregion

        #region Properties.

        /// <summary>
        /// The curren selected editor
        /// </summary>
        public SyntaxEditor Editor { get; set; }

        /// <summary>
        /// The name of the editor tab
        /// </summary>
        public string Name { get; set; }

        #endregion

    }
}
